﻿<%@ Page Language="C#" MasterPageFile="~/Pages/MasterPage.master" AutoEventWireup="true" CodeFile="AccoutChangeInfo.aspx.cs" Inherits="Pages_AccoutChangeInfo" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
        .style1
        {
            width: 164px;
            text-align:left
        }
        .style2
        {
        	text-align:left;
    }
    .style3
    {
            width: 408px;
             text-align:left
        }
    </style>
    <title>Imagevn upload and printing pro</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="titleClient">
<h1>Account Info</h1>
</div>
<div class="contentClient">
    <div id="MainContent">
        <div style="text-align:center; padding:10px; margin:0px auto; width:800px">
            <center>
            <table style="width: 600px; line-height:30px">
                
                <tr>
                    <td class="style1">
                        First name:
                    </td>
                    <td class="style3">
                      
                        <asp:TextBox ID="txtFName" runat="server" Width="92px"></asp:TextBox>
                    </td>
                    
                </tr>
                <tr>
                    <td class="style1">
                        Last name:
                    </td>
                    <td class="style3">
                     
                        <asp:TextBox ID="txtLName" runat="server" Width="91px"></asp:TextBox>
                    </td>
                    
                </tr>
                <tr>
                    <td class="style1">
                        Date of birth:
                    </td>
                    <td class="style3">
                        
                        <telerik:RadDatePicker ID="txtDate" Runat="server" Width="179px">
<Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x"></Calendar>

<DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton>
                        </telerik:RadDatePicker>
                    </td>
                    
                </tr>
                <tr>
                    <td class="style1">
                        Gender:
                        <span style="color:Red">*</span></td>
                    <td class="style3">
                        
                        <asp:RadioButton ID="radMale" runat="server" Checked="True" GroupName="gender" 
                            Text="Male" />
                        <asp:RadioButton ID="RadFemale" runat="server" GroupName="gender" 
                            Text="Female" />
                    </td>
                    
                </tr>
                <tr>
                    <td class="style1">
                        Phone number:
                    </td>
                    <td class="style3">
                        
                        <asp:TextBox ID="txtPhone" runat="server" Width="179px" MaxLength="20"></asp:TextBox>
                    </td>
                    
                </tr>
                <tr>
                    <td class="style1">
                        </td>
                    <td class="style3">
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                            ControlToValidate="txtPhone" Display="Dynamic" 
                            ErrorMessage="* Phone must be a number" ValidationExpression="\d+" 
                            ValidationGroup="group"></asp:RegularExpressionValidator>
                       </td>
                    
                </tr>
                <tr>
                    <td class="style1">
                        Address:
                    </td>
                    <td class="style3">
                        
                        <asp:TextBox ID="txtAddress" runat="server" Width="179px" Height="93px" 
                            MaxLength="100" TextMode="MultiLine"></asp:TextBox>
                    </td>
                    
                </tr>
                <tr>
                    <td class="style1">
                        </td>
                    <td class="style3">
                       </td>
                    
                </tr>
                <tr>
                    <td class="style1">
                        Email:
                        <span style="color:Red">*</span></td>
                    <td class="style3">
                       
                        <asp:TextBox ID="txtEmail" runat="server" Width="179px" MaxLength="50"></asp:TextBox>
                    </td>
                    
                </tr>
                <tr>
                    <td class="style1">
                        </td>
                    <td class="style3">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                            ControlToValidate="txtEmail" Display="Dynamic" 
                            ErrorMessage="* Email is not empty" ValidationGroup="group"></asp:RequiredFieldValidator>
                    <asp:Label ID="lblEmail" runat="server" Text="* Email already exists" Visible="false" ForeColor="Red"></asp:Label>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" 
                    runat="server" ControlToValidate="txtEmail" Display="Dynamic" 
                    ErrorMessage="* Invalid email format" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                            ValidationGroup="group"></asp:RegularExpressionValidator>
                        </td>
                    
                </tr>
                <tr>
                    <td class="style1">
                        Captcha:
                        <span style="color:Red">*</span></td>
                    <td class="style3">
                        
                        <telerik:RadCaptcha ID="txtCaptcha" Runat="server" 
                            ErrorMessage="The code you entered is not valid" ValidationGroup="group">
                        </telerik:RadCaptcha>
                    </td>
                    
                </tr>
                
                <tr>
                    <td class="style1">
                        
                    </td>
                    <td class="style3">
                        <asp:Button ID="btnSubmit" runat="server" Text="Save" Height="25px" 
                            Width="70px" onclick="btnSubmit_Click" ValidationGroup="group"/><input id="Reset1" type="reset"
                            value="reset" style="width:70px; height:25px" />
                    </td>
                    
                </tr>
            </table>
             </center>
        </div>
    </div>
</div>
</asp:Content>

